package cn.tedu.sgs.record.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface RecordUserMapper {
	@Update("UPDATE user SET points = points + #{points} WHERE id = #{userId}")
	void addPoints(@Param("userId") Long userId, @Param("points") Integer points);
}